#!/usr/bin/env pwsh
# Copyright (c) 2025 maminjie <canpool@163.com>
# SPDX-License-Identifier: Apache-2.0

$root_path = "$PSScriptRoot"

$env:PONY_DIR="$root_path/pony"
$env:BOARD_SEARCH_PATH="$root_path/pony/boards"

# sdk exports
. $root_path/sdk/export.ps1

# menuconfig
$menuconfig_path = "$root_path\sdk\tools\menuconfig\dist"
if ($env:PATH -notcontains $menuconfig_path) {
    $env:PATH = "$menuconfig_path;$env:PATH"
}
